package com.sg.qcgl.app.ball_team.convertor;

import com.sg.qcgl.domain.ball_team.model.BallTeam;
import com.sg.qcgl.client.ball_team.dto.command.BallTeamAddCmd;
import com.sg.qcgl.client.ball_team.dto.command.BallTeamUpdateCmd;
import com.sg.qcgl.client.ball_team.vo.BallTeamVO;

public class BallTeamAssembler {

    private final static BallTeamStructMapper INSTANCE = BallTeamStructMapper.INSTANCE;


    public static BallTeam addCmdToBallTeam(BallTeamAddCmd ballTeamAddCmd){
        BallTeam ballTeam = INSTANCE.toModel(ballTeamAddCmd);
        return ballTeam;
    }

    public static BallTeam updateCmdToBallTeam(BallTeamUpdateCmd ballTeamUpdateCmd){
        BallTeam ballTeam = INSTANCE.toModel(ballTeamUpdateCmd);
        return ballTeam;
    }

}